package com.kye.model.service;

import com.kye.model.bean.OpenApiResult;
import com.kye.model.bean.comment.mine.CommentMineItemBean;
import com.kye.model.bean.comment.mine.RequestCommentMineList;

import java.util.List;

import io.reactivex.Single;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

/**
 * @author : Joe
 * @version : 1.0
 * @editor : Joe
 * @created : 11/01/2018
 * @updated : 11/01/2018
 * @description : <Description>
 * @update_reason : <UpdateReason>
 */

public interface CommentService {

    // 我的评论
    @Headers({"method:OpenApi_Admin_QueryMyCommentInfoList"})
    @POST("router/rest")
    Single<OpenApiResult<List<CommentMineItemBean>>> getMyCommentList(@Body RequestCommentMineList requestCommentMineList);
}
